curl --request POST \
--url https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"raw_event": "{{enriched_calendar_event}}",
"user_email": "{{_google_email}}",
"output_variable_name": "pipeline_result",
"user_data": "{{user.context}}",
"company_domains": "<string>",
"meeting_history": "{{past_calendar_events}}",
"contact_research": "{{contact_research_results}}",
"meeting_sections": "<string>",
"include_html": true,
"use_v4_sections": true,
"settings": "{}"
}
'import requests
url = "https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline"
payload = {
"raw_event": "{{enriched_calendar_event}}",
"user_email": "{{_google_email}}",
"output_variable_name": "pipeline_result",
"user_data": "{{user.context}}",
"company_domains": "<string>",
"meeting_history": "{{past_calendar_events}}",
"contact_research": "{{contact_research_results}}",
"meeting_sections": "<string>",
"include_html": True,
"use_v4_sections": True,
"settings": "{}"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
raw_event: '{{enriched_calendar_event}}',
user_email: '{{_google_email}}',
output_variable_name: 'pipeline_result',
user_data: '{{user.context}}',
company_domains: '<string>',
meeting_history: '{{past_calendar_events}}',
contact_research: '{{contact_research_results}}',
meeting_sections: '<string>',
include_html: true,
use_v4_sections: true,
settings: '{}'
})
};
fetch('https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'raw_event' => '{{enriched_calendar_event}}',
'user_email' => '{{_google_email}}',
'output_variable_name' => 'pipeline_result',
'user_data' => '{{user.context}}',
'company_domains' => '<string>',
'meeting_history' => '{{past_calendar_events}}',
'contact_research' => '{{contact_research_results}}',
'meeting_sections' => '<string>',
'include_html' => true,
'use_v4_sections' => true,
'settings' => '{}'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline"
payload := strings.NewReader("{\n \"raw_event\": \"{{enriched_calendar_event}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"pipeline_result\",\n \"user_data\": \"{{user.context}}\",\n \"company_domains\": \"<string>\",\n \"meeting_history\": \"{{past_calendar_events}}\",\n \"contact_research\": \"{{contact_research_results}}\",\n \"meeting_sections\": \"<string>\",\n \"include_html\": true,\n \"use_v4_sections\": true,\n \"settings\": \"{}\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"raw_event\": \"{{enriched_calendar_event}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"pipeline_result\",\n \"user_data\": \"{{user.context}}\",\n \"company_domains\": \"<string>\",\n \"meeting_history\": \"{{past_calendar_events}}\",\n \"contact_research\": \"{{contact_research_results}}\",\n \"meeting_sections\": \"<string>\",\n \"include_html\": true,\n \"use_v4_sections\": true,\n \"settings\": \"{}\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"raw_event\": \"{{enriched_calendar_event}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"pipeline_result\",\n \"user_data\": \"{{user.context}}\",\n \"company_domains\": \"<string>\",\n \"meeting_history\": \"{{past_calendar_events}}\",\n \"contact_research\": \"{{contact_research_results}}\",\n \"meeting_sections\": \"<string>\",\n \"include_html\": true,\n \"use_v4_sections\": true,\n \"settings\": \"{}\"\n}"
response = http.request(request)
puts response.read_body{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}[Full] V3 Run Meeting Pipeline
V3: Full meeting prep pipeline with seller profile integration. Generates personalized sections when seller profile is available.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"raw_event": "{{enriched_calendar_event}}",
"user_email": "{{_google_email}}",
"output_variable_name": "pipeline_result",
"user_data": "{{user.context}}",
"company_domains": "<string>",
"meeting_history": "{{past_calendar_events}}",
"contact_research": "{{contact_research_results}}",
"meeting_sections": "<string>",
"include_html": true,
"use_v4_sections": true,
"settings": "{}"
}
'import requests
url = "https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline"
payload = {
"raw_event": "{{enriched_calendar_event}}",
"user_email": "{{_google_email}}",
"output_variable_name": "pipeline_result",
"user_data": "{{user.context}}",
"company_domains": "<string>",
"meeting_history": "{{past_calendar_events}}",
"contact_research": "{{contact_research_results}}",
"meeting_sections": "<string>",
"include_html": True,
"use_v4_sections": True,
"settings": "{}"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
raw_event: '{{enriched_calendar_event}}',
user_email: '{{_google_email}}',
output_variable_name: 'pipeline_result',
user_data: '{{user.context}}',
company_domains: '<string>',
meeting_history: '{{past_calendar_events}}',
contact_research: '{{contact_research_results}}',
meeting_sections: '<string>',
include_html: true,
use_v4_sections: true,
settings: '{}'
})
};
fetch('https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'raw_event' => '{{enriched_calendar_event}}',
'user_email' => '{{_google_email}}',
'output_variable_name' => 'pipeline_result',
'user_data' => '{{user.context}}',
'company_domains' => '<string>',
'meeting_history' => '{{past_calendar_events}}',
'contact_research' => '{{contact_research_results}}',
'meeting_sections' => '<string>',
'include_html' => true,
'use_v4_sections' => true,
'settings' => '{}'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline"
payload := strings.NewReader("{\n \"raw_event\": \"{{enriched_calendar_event}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"pipeline_result\",\n \"user_data\": \"{{user.context}}\",\n \"company_domains\": \"<string>\",\n \"meeting_history\": \"{{past_calendar_events}}\",\n \"contact_research\": \"{{contact_research_results}}\",\n \"meeting_sections\": \"<string>\",\n \"include_html\": true,\n \"use_v4_sections\": true,\n \"settings\": \"{}\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"raw_event\": \"{{enriched_calendar_event}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"pipeline_result\",\n \"user_data\": \"{{user.context}}\",\n \"company_domains\": \"<string>\",\n \"meeting_history\": \"{{past_calendar_events}}\",\n \"contact_research\": \"{{contact_research_results}}\",\n \"meeting_sections\": \"<string>\",\n \"include_html\": true,\n \"use_v4_sections\": true,\n \"settings\": \"{}\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-lr.agent.ai/v1/action/meeting_prep_v3_run_optimized_pipeline")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"raw_event\": \"{{enriched_calendar_event}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"pipeline_result\",\n \"user_data\": \"{{user.context}}\",\n \"company_domains\": \"<string>\",\n \"meeting_history\": \"{{past_calendar_events}}\",\n \"contact_research\": \"{{contact_research_results}}\",\n \"meeting_sections\": \"<string>\",\n \"include_html\": true,\n \"use_v4_sections\": true,\n \"settings\": \"{}\"\n}"
response = http.request(request)
puts response.read_body{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}Authorizations
Bearer token from your account (https://agent.ai/user/integrations#api)
Body
The raw calendar event data from Google Calendar API.
Current user's email address.
Variable name to store pipeline result with timing breakdown.
^[a-zA-Z][a-zA-Z0-9_]*$User profile data including optional seller_profile for personalization.
Optional company domains. Auto-detected if not provided.
Optional past meetings for relationship analysis.
Optional pre-fetched contact research results.
Optional pre-generated sections (skips Phase 6 LLM calls).
Generate HTML email output (Phase 7).
Generate V3 sections (situation, segues, questions, next_step) instead of V2.
Optional settings for trigger validation.

